﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
     class LetterNPC:TaskNPC
    {
        private string letter { get; set; }
        public LetterNPC(string name,NpcType type, string letter) : base(name,type)
        {
            this.name = name;
            this.type = type;
            this.letter = letter;
        }
        public override void Speak()
        {
            Console.WriteLine("我是{0}，我会{1}",base.name,this.letter);
        }
    }
}
